// samsting : this file is auto create.

#include "Rds/2014-08-15/DescribeRegionsResponse.h"

namespace aliyun { namespace Rds {

DescribeRegionsResponse::DescribeRegionsResponse() {
}

const string& DescribeRegionsResponse::RDSRegion::GetRegionId(void) const {
  return RegionId_;
}

const string& DescribeRegionsResponse::RDSRegion::GetZoneId(void) const {
  return ZoneId_;
}

const std::vector<DescribeRegionsResponse::RDSRegion>& DescribeRegionsResponse::GetRegions(void) const {
  return Regions_;
}

const char* DescribeRegionsResponse::BaseKey(void) {
  return "DescribeRegionsResponse";
}

void DescribeRegionsResponse::UnmarshallerMap(std::map<string, string>& response_map) {
  int Regions__length = 0;
  UnmarshallerInt(Regions__length, response_map, "DescribeRegionsResponse.Regions.Length");
  if(Regions__length >= 0) {
    Regions_.resize(Regions__length);
    for(int i1 = 0; i1 < Regions__length; i1++) {
      UnmarshallerString(Regions_[i1].RegionId_, response_map, "DescribeRegionsResponse.Regions["+string_ValueOfInt(i1)+"].RegionId");
      UnmarshallerString(Regions_[i1].ZoneId_, response_map, "DescribeRegionsResponse.Regions["+string_ValueOfInt(i1)+"].ZoneId");
    } // for(int i1 = 0; i1 < Regions__length; i1++) {
  } // if(Regions__length >= 0) {

}


} } // namespace aliyun { namespace Rds {

// end of file 
